unit Mainform;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtDlgs, ExtCtrls, StdCtrls, ComCtrls, Cam;

type
  TForm1 = class(TForm)
    Bevel1: TBevel;
    Button3: TButton;
    Panel1: TPanel;
    Button1: TButton;
    Label1: TLabel;
    procedure Button3Click(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;



(*
type
    TPixelColor = packed record
     B,G,R : Byte;
end;
*)
var
  Form1: TForm1;


implementation

{$R *.dfm}

procedure TForm1.Button3Click(Sender: TObject);
begin
  application.Terminate;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
     CreateCAMPanel(Form1.Panel1.Handle,320,240);
end;

end.
